package com.course.masterservice;

import com.course.component.http.requ.RequestToken;
import com.course.dto.reqs.RequestRole;
import com.course.dto.resp.ResMenu;
import com.course.dto.resp.ReturnLoginUser;
import com.course.entity.Permission;
import com.course.entity.User;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Copyright: Copyright (c)  林中小鸟  All rights reserved.
 * @author: moon
 * @date: 2022/8/15 10:39
 * @Description: **********************
 */
public interface MasterLoginService {

    User getUser();

    ReturnLoginUser login(RequestToken token);

    Map<String, Object> getMenu();

    String getVersion();

    User getLoginUser();

    Set<ResMenu> getMenuAll();

    List<Permission> getMenuRole(RequestRole requestRole);
}
